Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Disable publishing failing scans #21528

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Conversation

adpi2
Copy link
Member

@adpi2 adpi2 commented Sep 2, 2024

This sbt command is expected to fail. Consequently its Develocity scan always appear as failed, even though the CI job succeeds. This is confusing and it makes it harder to find real failing jobs.

The solution I propose in this PR is to disable publishing the scan of the command, using -Dscan:false.

Ping @dotta

@lrytz
Copy link
Member

lrytz commented Sep 2, 2024

looks good, a bit surprising that the plugin uses a top-level property, not something like develocity.scan

@dotta
Copy link

dotta commented Sep 2, 2024

@adpi2 LGTM. My only feedback is whether it may help to embed the text in the PR's description in the commit's message so that the context is in the git history.

@lrytz it's a good point. We used scan here for consistency with the Maven and Gradle Develocity support.

@hamzaremmal hamzaremmal merged commit 5fa69ad into scala:main Sep 3, 2024
28 checks passed
adpi2 added a commit that referenced this pull request Sep 11, 2024
#21528 did not work: failing scans
are still published.

This should fix it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants